#include<iostream>
using namespace std;
string a;
int main()
{
	printf("Hi,My New Friend!\n");
	getline(cin,a);
	
	if(a=="Who are you?")
	{
		printf("Em...I do not have any name.You could give me one name.\n");
		a.clear();
		cin>>a;
		printf("Oh!%s is a really good name for me!Thank you.What's your name?\n",a.c_str());
		a.clear();
		cin>>a;
		printf("%s is a great name!\n",a.c_str());
		a.clear();
	}
	
	else
	{
		printf("Nice to meet you!What's your name?\n");
		a.clear();
		cin>>a;
		printf("%s is a great name!But I don' have my own name.Could you give me one?\n",a.c_str());
		a.clear();
		cin>>a;
		printf("Oh!%s is a really good name for me!Thank you.\n",a.c_str());
		a.clear();
	}
	return 0;
}
